package ai.zixing.service.impl;

import ai.zixing.dao.CourseDao;
import ai.zixing.service.CourseService;
import lombok.Setter;

public class CourseServiceImpl implements CourseService {


    public CourseServiceImpl() {
        System.out.println("CourseServiceImpl 创建了..................");
    }

    @Setter
    private CourseDao courseDao;

    @Override
    public void add() {
        System.out.println("CourseServiceImpl 执行了..................");
        courseDao.add();
    }
}
